package BaseKnowledge.HuanCun;

public class Test1 {
    public static void main(String[] args) {
        Integer x = new Integer(123);
        Integer y = new Integer(123);
        System.out.println(x + " " + y);
        System.out.println(x == y); // false
        Integer z = Integer.valueOf(123);
        System.out.println(z);
        Integer k = Integer.valueOf(123);
        System.out.println(z == k); // tru
    }
}
